package org.myapp.page.login.panel;

import org.apache.wicket.markup.html.panel.Panel;

import org.myapp.page.login.form.LoginFormModel;
import org.myapp.page.login.form.RegistForm;

public class RegistPanel extends Panel {

    private static final long serialVersionUID = 507525888660832175L;

    public RegistPanel(String id, LoginFormModel model, boolean visible) {
        super(id);

        RegistForm form = new RegistForm(model);
        add(form);

        setOutputMarkupId(true);
        setOutputMarkupPlaceholderTag(true);

        setVisible(visible);
    }
}
